# !/usr/bin/env python
# -*- coding: utf-8 -*-
'''
@__author:xiaojungao(借鉴luruiyaun)
'''
import configparser
config=configparser.ConfigParser()

config["PATH"]={}
config["PATH"]["chromedriver_path"] = "../conf/chromedriver.exe"

config['URL'] = {}
config['URL']['baiud_url'] = 'https://www.baidu.com'
config['URL']['XXDHT_URL'] = 'http://52.80.159.11:8204/login'

config['DATABADE'] = {}
config['DATABADE']['host'] = 'database-url'
config['DATABADE']['port'] = 'database-port'
config['DATABADE']['username'] = 'database-username'
config['DATABADE']['passworld'] = 'database-passworld'

with open("config.ini","a") as f:
    config.write(f)